package com.campus.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.campus.entity.System.SysUser;

/**
 * @author java1234
 * @description 针对表【sys_user】的数据库操作Service
 * @createDate 2022-08-30 10:49:41
 */
public interface SysUserService extends IService<SysUser> {

    /**
     * 拿取账号
     *
     * @param account
     * @return
     */
    SysUser getByAccount(String account);

    /**
     * 获取用户权限信息
     *
     * @param userId
     * @return
     */
    String getUserAuthorityInfo(Long userId);
}
